<?php
/**
 * Created by PhpStorm.
 * Created at 21/05/2018 10:54.
 */

require_once __DIR__ . '/../vendor/autoload.php';

$container = new \Illuminate\Container\Container();

$container->bind(\App\Contracts\FooInterface::class, \App\Foo\GoodFoo::class);
dump($container->make(\App\Bar\GoodBar::class));
dump($container->make(\App\Bar\BadBar::class));
